﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Announce.aspx.cs" Inherits="ZX.WebApp.DeskTop.test" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../../Scripts/yui_2.9.0/build/reset-fonts-grids/reset-fonts-grids.css" />
    <link rel="stylesheet" type="text/css" href="../../Scripts/yui_2.9.0/build/container/assets/skins/sam/container.css" />
    <link rel="stylesheet" type="text/css" href="../../Scripts/yui_2.9.0/build/menu/assets/skins/sam/menu.css" />
    <link rel="stylesheet" type="text/css" href="../../Scripts/yui_2.9.0/build/button/assets/skins/sam/button.css" />
    <link rel="stylesheet" type="text/css" href="../../Scripts/yui_2.9.0/build/resize/assets/skins/sam/resize.css" />
    <link href="../../Styles/css.index.css" rel="stylesheet" type="text/css" />
    <link href="../../Scripts/EasyUI/themes/default/easyui.css" rel="Stylesheet" type="text/css" />
    <style type="text/css">
        body
        {
            font-size: 13px;
        }
        
        /*通用超级链接各种样式*/
        a:visited
        {
            text-decoration: none;
            color: #143B5A;
        }
        a:active
        {
            text-decoration: none;
            color: #143B5A;
        }
        a:hover
        {
            text-decoration: none;
            color: #FE611B;
        }
        a:link
        {
            text-decoration: none;
            color: #143B5A;
        }
    </style>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/yahoo/yahoo.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/event/event-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/connection/connection-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/yahoo-dom-event/yahoo-dom-event.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/element/element-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/datasource/datasource-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/json/json-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/connection/connection-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/get/get-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/dragdrop/dragdrop-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/calendar/calendar-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/datatable/datatable-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/layout/layout-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/button/button-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/container/container-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/resize/resize-min.js"></script>
    <script src="../../Scripts/EasyUI/js/jquery-1.6.min.js" type="text/javascript"></script>
    <script src="../../Scripts/EasyUI/js/jquery.easyui.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        var load = function () {
            GetAnnounce();
        }
        var handleSuccess3 = function (o) {
            document.getElementById("LblAnnounce").innerHTML = o.responseText;
        };
        var handleFailure3 = function () {
            alert('出错了handleFailure3');
        };
        var callBack3 = {
            success: handleSuccess3,
            failure: handleFailure3,
            argument: { foo: "foo", bar: "bar" }
        };
        var GetAnnounce = function () {
            //setTimeout(GetAnnounce, 10000);
            var url = "../../Extend/AjaxData/DataProcessin.aspx?action=Get" + "&r=" + Math.random() + "&entity=Announce";
            var request = YAHOO.util.Connect.asyncRequest('Post', url, callBack3);
        }
        var ShowAnnounce = function (title, announceId) {
            parent.addTabs
            parent.parent.addTabs(title, "http://" + this.location.host + "/EditWidows/SysManager/ShowAnnounce.aspx?ID=" + announceId + "&r=" + Math.random() + "");
            //parent.document.getElementById("EditUIWindow").src = "../EditWidows/SysManager/ShowAnnounce.aspx?ID=" + announceId + "&r=" + Math.random() + "";
            //parent.YAHOO.example.container.dialog1.show();
        }
    </script>
</head>
<body onload='load()'>
    <form id="form1" runat="server">
    <div style="overflow:auto;">
        <asp:Label ID="LblAnnounce" runat="server"></asp:Label>
        <table>
            <tr>
                <td style="text-align:right;"></td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
